package com.bingfor.sharedemo;

import android.app.Application;

import com.umeng.socialize.Config;
import com.umeng.socialize.PlatformConfig;
import com.umeng.socialize.UMShareAPI;

/**
 * Created by LY on 2017/6/3.
 */

public class App extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        PlatformConfig.setWeixin("wx74fc21259778f941", "431ed46a67edb3380ac5bbc8e7484969");
        PlatformConfig.setQQZone("100424468", "c7394704798a158208a74ab60104f0ba");
        PlatformConfig.setSinaWeibo("652364026", "802e8762b8be7e6653926a4d96a60f67", "http://sns.whalecloud.com");
        Config.DEBUG = true;
        UMShareAPI.get(this);
//      对应平台没有安装的时候跳转转到应用商店下载
        Config.isJumptoAppStore = true;
    }
}
